export function getWeekday(dateStr: string) {
  const daysOfWeek = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
  const date = new Date(dateStr);
  const dayOfWeek = date.getDay();
  return daysOfWeek[dayOfWeek];
}
